import request from '@/utils/request'

// 根据ID获取权限信息
export function UserPermission(params) {
  return request({
    url: '/api/System/UserPermission/' + params.userid,
    method: 'get',
    params: {}
  })
}

// 根据ID获取空间信息
export function Space(params) {
    return request({
      url: '/api/System/Space/'+params.resourceID,
      method: 'get',
      params: {}
    })
  }

  // 获取设备列表
export function Equipment(params) {
    return request({
      url: '/api/System/Equipment/',
      method: 'get',
      params: params
    })
  }